.class Lcom/waiqin365/lightapp/product/a/c;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/a/d;

.field final synthetic b:Lcom/waiqin365/lightapp/product/a/a;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/a/a;Lcom/waiqin365/lightapp/product/a/d;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/a/c;->b:Lcom/waiqin365/lightapp/product/a/a;

    iput-object p2, p0, Lcom/waiqin365/lightapp/product/a/c;->a:Lcom/waiqin365/lightapp/product/a/d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/c;->a:Lcom/waiqin365/lightapp/product/a/d;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/a/d;->e:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    new-instance v2, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/c;->b:Lcom/waiqin365/lightapp/product/a/a;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/a/a;->b(Lcom/waiqin365/lightapp/product/a/a;)Landroid/content/Context;

    move-result-object v1

    const-class v3, Lcom/waiqin365/lightapp/product/ProductDetailActivityNewForPD;

    invoke-direct {v2, v1, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string/jumbo v3, "pdCache"

    invoke-virtual {v2, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "isJT"

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/a/c;->b:Lcom/waiqin365/lightapp/product/a/a;

    invoke-static {v3}, Lcom/waiqin365/lightapp/product/a/a;->c(Lcom/waiqin365/lightapp/product/a/a;)Z

    move-result v3

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v0, "isModify"

    const/4 v3, 0x1

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v0, "function"

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/a/c;->b:Lcom/waiqin365/lightapp/product/a/a;

    invoke-static {v3}, Lcom/waiqin365/lightapp/product/a/a;->d(Lcom/waiqin365/lightapp/product/a/a;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v3, "selectedList"

    move-object v0, v1

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v2, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/c;->b:Lcom/waiqin365/lightapp/product/a/a;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/a/a;->b(Lcom/waiqin365/lightapp/product/a/a;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    const/16 v1, 0x3ea

    invoke-virtual {v0, v2, v1}, Landroid/app/Activity;->startActivityForResult(Landroid/content/Intent;I)V

    return-void
.end method
